<?php

msg("In handler: voice");

function generateMessage($msg) {
	msg("media id is " . $msg->message['MediaId']);
	msg("format is " . $msg->message['Format']);
	return array(
			'Content' => "[url=" . WECHAT_ROOT . "voice.php?MediaId=" . $msg->message['MediaId'] . "&format=" . $msg->message['Format'] . "&msgtype=voice]语音链接[/url]",
			'subject' => "语音问题",
	);
}
require './handlers/message_common.php';

?>
